package hujz.java.file_server;

public class NativeInterface {
	public native void initializes();
	public native int resize(String uri, String out, int width, int height);
	public native void destroys();
	
	static {
		System.loadLibrary("native");
	}
	
	public static void main(String[] args) {
		NativeInterface interface1 = new NativeInterface();
		interface1.initializes();
		interface1.resize("/opt/694056405-6351b44fabd950d0.jpg", "/opt/694056405.jpg", 200, 0);
		interface1.destroys();
	}
}
